﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Alert Configuration</title>
    <link href="../css/quote2.css" rel="stylesheet" type="text/css" />
     <script src="../lib//jquery.js" type="text/javascript"></script>
    <script src="../lib/jquery.json-1.3.min.js" type="text/javascript"></script>
    <script src="../js/DBHelper.js" type="text/javascript"></script>
   
    <script src="http://globalquote.morningstar.com/globalcomponent/js/common_pack_0.0.2.js" type="text/javascript"></script>
    <script src="../js/alert.js" type="text/javascript"></script>
</head>
<body>
<div id="rta_outalert" class="rta-outalert" style=" width:400px; height:320px">
<div idkey="header" class="rta-sect rta-hd" ></div>
<div idkey="content" class="rta-sect rta-con" style="height:80%">
<div class="rta-lm"></div>
<div class="rta-tb">
  <div class="rta-tb-hd">
  <div class="rta-col1">Name</div>
  <div class="rta-col2">Type</div>
  <div class="rta-col3">Operator</div>
  <div class="rta-col4">Value</div>
  <div class="rta-col5">&nbsp;&nbsp;</div>
  </div>
  <div class=" rtc-ctrl2"> 
            <input id="rta_secBox" class="rtc-ctrl-input" type="text" style="width: 80px; margin-left:4px" value="" />         
            <div id="rta_secList"   class="rtc-auto-drop" style="position:absolute">
            </div>
             <div class="rtc-ctrl-sect">
                <li menuitemstyle="item" class="rtc-pmtxt"><a mname="field" href="javascript:void(0)" value="LastPrice">
                    Last Price </a>
                    <ul idkey="fieldul">
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="LastPrice" catkey="field"
                            class="on">Last Price</a></li>
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="Chg%" catkey="field">
                            Chg%</a></li>
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="Volume" catkey="field">
                            Volume</a></li>
                    </ul>
                </li>
            </div>
             <div class="rtc-ctrl-sect">
                <li menuitemstyle="item" class="rtc-pmtxt"><a mname="op" href="javascript:void(0)" value="&gt=">&gt= </a>
                    <ul idkey="opul">
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="&gt=" catkey="op"
                            class="on">&gt=</a></li>
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value=">" catkey="op">
                            &gt</a></li>
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="&lt=" catkey="op">
                            &lt=</a></li>
                        <li><a href="javascript:void(0)" menuitemstyle="trigger" value="&lt" catkey="op">
                            &lt</a></li>
                         <li><a href="javascript:void(0)" menuitemstyle="trigger" value="=" catkey="op">
                            =</a></li>
                    </ul>
                </li>
            </div>
            <input idkey="optorValue" class="rtc-ctrl-input" type="text" style="width: 50px;" value="" />
            <a href="javascript:void(0)" idkey="addRecord" class="rtc-ctrl-go-button">GO</a>
    </div>
  <div class="rta-tb-con" idkey="rta_table" >
  
  </div>
</div>
<div class="rta-rm"></div>
</div>
<div idkey="footer" class="rta-sect rta-ft" >
<div class="rta-ft-row"><div class="rta-ft-col" ><input idkey="rta_isPop" type="checkbox" checked />Pop-up Alert</div>
<div class="rta-ft-col"><input type="checkbox" idkey="rta_isEmail" />Email Alert</div>
<div class="rta-ft-col"><input type="checkbox" idkey="rta_isFax"/>Text Alert</div>
</div>
<div class="rta-ft-row2"><div class="rta-ft-col">&nbsp;</div>
<div class="rta-ft-col"><input type="text" class="rtc-ctrl-input" idkey="rta_email" /></div>
<div class="rta-ft-col"><input type="text" class="rtc-ctrl-input" idkey="rta_fax"/></div>
</div>
<div class="rta-ft-row2"><div style="float:right"><a  class="rtc-ctrl-go-button" style="margin-right:10px" href="javascript:void(0)" onclick="saveAlerts()">Save</a>
<a  class="rtc-ctrl-go-button" style="margin-right:34px" href="javascript:void(0)">Cancel</a></div>
</div>
</div>
</div>
<script>
initCtrl("rta_outalert");
setAlertCondictionStuas(1249378426814,true);
</script>
</body>
</html>
